package com.zjj.mybatis.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.zjj.mybatis.bean.User;

@Mapper
public interface UserMapper {
	
	List<User> queryUserList();

	User queryUserById(int id);

	boolean addUser(User user);

	boolean updateUser(User user);

	boolean deleteUser(int id);
}
